<?php

namespace Services\Ai;
/**
 * 支持的智能体列表
 */
class AiList
{
    const PRODUCT_PROMOTION = 'product_promotion';
    const AI_TYPE_MAPS = [
        self::PRODUCT_PROMOTION => '产品宣发达人'
    ];
    const FORM_INPUT = 'input';
    const FORM_ENUM = 'enum';

    const FORM_TEXT_NUMS = [
        'type' => self::FORM_ENUM,
        'name' => 'length',
        'desc' => '内容长度',
        'values' => [
            [
                'label' => '短篇',
                'length' => 100,
            ],
            [
                'label' => '中篇',
                'length' => 300,
            ],
            [
                'label' => '长篇',
                'length' => 600,
            ],
        ]
    ];
    const AI_LIST = [
        [
            'type' => self::PRODUCT_PROMOTION,
            'name' => self::AI_TYPE_MAPS[self::PRODUCT_PROMOTION],
            'coze_bot_id' => '7494920105814802484',
            'desc' => '产品宣发',
            'icon' => 'https://storage.yewuleida.top/static/icon/product_promotion.png',
            'random_text' => [],//预置随机文案
            'form' => [
                [
                    'type' => self::FORM_INPUT,
                    'name' => 'name',
                    'label' => '产品名称'
                ],
                [
                    'type' => self::FORM_INPUT,
                    'name' => 'specialty',
                    'label' => '产品特点'
                ],
                self::FORM_TEXT_NUMS
            ]
        ]
    ];
}
